﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UTDTester
{
    abstract public class UtdDevice : IUtdDevice
    {
    
        public int deviceId { get; set; }

        public string deviceName { get; set; }

        public string deviceIp { get; set; }


        public int devicePort { get; set; }

        public int deviceType { get; set; }

        public int deviceStatus { get; set; }

        public bool deviceHasChild { get; set; }

        public int[] deviceChildIdList { get; set; }

        abstract public int openDevice();

        abstract public int sendToDevice(string data);

        abstract public string getFromDevice();

        abstract public int closeDevice();

    }
}
